<template>
   <tbody>
    <tr>
      <td>{{time}}</td>
      <td>{{name}}</td>
      <td>{{illness}}</td>
      <td>{{drug}}</td>
      <td @click="clickfn(id)">详情</td>
    </tr>
  </tbody>
</template>

<script>
export default {
  props: ['id', 'name', 'time', 'illness', 'drug'],
  data() {
    return {}
  },
  computed: {},
  created() {},
  mounted() {},
  watch: {},
  methods: {
    clickfn(id){
      this.$emit("clickfn", id)
      
    }
  },
  components: {},
}
</script>

<style scoped>
</style>
